const list=require('./src/mock/index')

module.exports={
    devServer:{
       before(app){
           app.get('/api/list',(req,res)=>{
            //    console.log(list)
               res.send({
                   code:200,
                   list,
               })
           })
       }
    }
}